Page({
    data: {
      imgList: [
        "http://m.qpic.cn/psc?/V51LTNaP4Iy1HI48OIQa1Tok810AH8Hn/45NBuzDIW489QBoVep5mcX.ZO8r8hI.YPLKEsmVRowHULycIFqI3Y7tBPZIj5AFIefb.9Y*Iv2q6adipeSanW99Cfm0lownLR1FjhxvYpQY!/b&bo=*QhABgUR1QsDSRU!&rf=viewer_4",
      ]
    },
  
    
    preview(event) {
      console.log(event.currentTarget.dataset.src)
      let currentUrl = event.currentTarget.dataset.src
      wx.previewImage({
        current: currentUrl, 
        urls: this.data.imgList 
      })
    },
    theShy: function(e) {
        wx.navigateTo({
          url: '../index/index',
  })  
    }
  })